using System.Collections.Frozen;

namespace ValveResourceFormat.Serialization.KeyValues;

//
// These guids can be found by looking at the KV3ID_t references in resourcecompiler.dll
// It looks like this:
// LoadKV3(..., const struct KV3ID_t *, ...)
//
// It will point to a string, and the next 16 bytes will be the GUID.
//
// More ids are also stored in the tier0.dll
//

/// <summary>
/// Provides lookup for <see cref="KeyValues3"/> identifiers.
/// </summary>
public static class KV3IDLookup
{
    /// <summary>
    /// Gets the mapping of <see cref="KV3ID"/> names to their GUIDs.
    /// </summary>
    public static readonly FrozenDictionary<string, Guid> Table = new Dictionary<string, Guid>()
    {
        { "animgraph0", new Guid([0x02, 0x38, 0xB3, 0xF8, 0x19, 0x7E, 0x64, 0x41, 0x9D, 0xD5, 0x2D, 0x3C, 0x9A, 0x19, 0x3C, 0x22]) },
        { "animgraph1", new Guid([0x4A, 0x1B, 0x50, 0xED, 0x4B, 0x4C, 0x32, 0x48, 0x91, 0x7C, 0x53, 0x4F, 0xE2, 0x78, 0x72, 0x59]) },
        { "animgraph2", new Guid([0x71, 0x94, 0x46, 0x3D, 0x5C, 0x48, 0x12, 0x45, 0x96, 0x5F, 0x80, 0x9C, 0x72, 0xF7, 0xCE, 0xD7]) },
        { "animgraph3", new Guid([0xA8, 0xD7, 0xD0, 0xCC, 0x97, 0xF4, 0x21, 0x45, 0x81, 0x7A, 0xFF, 0x63, 0x75, 0xA1, 0xB4, 0xC9]) },
        { "animgraph4", new Guid([0x39, 0xCA, 0x40, 0x95, 0x42, 0xDF, 0x13, 0x45, 0x88, 0xD8, 0x9F, 0xCB, 0xDB, 0x31, 0x49, 0x61]) },
        { "animgraph5", new Guid([0x24, 0x8D, 0x21, 0x93, 0x48, 0xA8, 0x6B, 0x41, 0x96, 0xD9, 0x87, 0xC0, 0xDC, 0x19, 0x37, 0x57]) },
        { "animgraph6", new Guid([0x91, 0xF3, 0xA7, 0xAE, 0x89, 0x89, 0x2C, 0x4C, 0xB1, 0x4D, 0x4F, 0x9E, 0x2A, 0x01, 0xE4, 0xF1]) },
        { "animgraph7", new Guid([0x18, 0x16, 0xAD, 0xFA, 0x99, 0x22, 0xB5, 0x41, 0x87, 0x84, 0x3E, 0x61, 0x75, 0x1F, 0x49, 0x37]) },
        { "animgraph8", new Guid([0xE4, 0xB2, 0x19, 0x93, 0x93, 0x8C, 0xCD, 0x4F, 0xB2, 0xEF, 0xDB, 0x49, 0x5C, 0x7A, 0x48, 0x36]) },
        { "animgraph9", new Guid([0xDF, 0x45, 0xC0, 0xAF, 0xCB, 0x24, 0xF3, 0x4A, 0xA1, 0xBF, 0xE9, 0xF3, 0x86, 0x4B, 0xB2, 0x8A]) },
        { "animgraph10", new Guid([0xBF, 0xE1, 0x9D, 0xCC, 0x44, 0xB3, 0x4C, 0x4F, 0x83, 0x1C, 0x61, 0x7E, 0xDC, 0xCA, 0x4D, 0xAD]) },
        { "animgraph11", new Guid([0xBA, 0x52, 0xCB, 0x86, 0x9A, 0x6F, 0x75, 0x4D, 0x8F, 0xDB, 0x87, 0x23, 0x51, 0x9E, 0x78, 0x09]) },
        { "animgraph12", new Guid([0xDD, 0xC6, 0x9A, 0xC0, 0x0B, 0x3C, 0x6E, 0x4F, 0xB3, 0x1B, 0x7A, 0xCD, 0x0B, 0x52, 0xB2, 0xB5]) },
        { "animgraph13", new Guid([0xAA, 0xEB, 0x1E, 0xA5, 0x98, 0x1D, 0x1B, 0x45, 0xA6, 0x30, 0x88, 0x93, 0xC8, 0x1F, 0x7E, 0x4C]) },
        { "animgraph14", new Guid([0xEF, 0x37, 0x7C, 0xF2, 0xD4, 0x50, 0x6B, 0x41, 0x95, 0xA4, 0x08, 0x4C, 0xED, 0x7E, 0x86, 0x9D]) },
        { "animgraph15", new Guid([0x5B, 0xF9, 0x8C, 0x85, 0xBC, 0x68, 0xD5, 0x47, 0xAB, 0x3A, 0x5D, 0x50, 0xEB, 0xE3, 0x22, 0xDA]) },
        { "animgraph16", new Guid([0x64, 0x53, 0xB0, 0xD5, 0xB0, 0x63, 0xF4, 0x48, 0x80, 0xF5, 0x58, 0x54, 0x1E, 0x2F, 0x36, 0x95]) },
        { "animgraph17", new Guid([0x8C, 0x80, 0x57, 0xAC, 0x70, 0xF4, 0xD3, 0x4F, 0xB4, 0x86, 0xE5, 0xF0, 0xAC, 0x9D, 0x9E, 0xE2]) },
        { "animgraph18", new Guid([0x94, 0x83, 0xE1, 0x04, 0xA9, 0xC7, 0x16, 0x43, 0x8B, 0xCA, 0x87, 0x83, 0x0B, 0xB1, 0xEB, 0x6B]) },
        { "animgraph19", new Guid([0xB7, 0x35, 0xDB, 0x0A, 0x85, 0x25, 0x02, 0x43, 0x8D, 0x05, 0xE2, 0x82, 0x5B, 0x45, 0x18, 0xAC]) },
        { "animgraph20", new Guid([0xD1, 0x04, 0xD0, 0x57, 0xB1, 0xD6, 0x16, 0x40, 0x83, 0xFE, 0x82, 0x2E, 0xF5, 0x8C, 0x50, 0x98]) },
        { "animgraph21", new Guid([0x38, 0x46, 0xA6, 0xD7, 0x21, 0x54, 0x64, 0x4D, 0xAC, 0x4A, 0x9D, 0xD3, 0x83, 0x17, 0x30, 0x0E]) },
        { "animgraph22", new Guid([0xB7, 0xB1, 0xC5, 0x92, 0x5E, 0x9F, 0x18, 0x42, 0x88, 0xBC, 0x75, 0x6D, 0xCC, 0xEE, 0x84, 0x72]) },
        { "animgraph23", new Guid([0x81, 0x0A, 0x6A, 0x12, 0x48, 0x9C, 0x8C, 0x49, 0xAE, 0x7A, 0xBA, 0x0C, 0xEF, 0x3E, 0xEA, 0x1B]) },
        { "animgraph24", new Guid([0xC3, 0xE5, 0x60, 0x2E, 0xF0, 0xDE, 0x8C, 0x4F, 0x85, 0x78, 0x47, 0x66, 0xC9, 0x56, 0x20, 0x86]) },
        { "animgraph25", new Guid([0x20, 0xB3, 0x98, 0xA2, 0x44, 0x73, 0x7E, 0x45, 0x91, 0x60, 0x54, 0xF2, 0x29, 0x30, 0x35, 0x09]) },
        { "animgraph26", new Guid([0x58, 0xCF, 0x16, 0x6B, 0x62, 0x7F, 0x20, 0x48, 0x9A, 0x1E, 0xCD, 0x92, 0xD1, 0xCB, 0xD3, 0xFB]) },
        { "animgraph27", new Guid([0x1E, 0xFA, 0x58, 0xB0, 0x40, 0x3B, 0x8F, 0x47, 0xB4, 0x97, 0xE4, 0x62, 0x3B, 0x7B, 0xFC, 0x02]) },
        { "animgraph28", new Guid([0x38, 0x08, 0x2F, 0xF1, 0x23, 0x08, 0x47, 0x4C, 0xBE, 0xA0, 0x41, 0x97, 0x0D, 0xAE, 0x2B, 0x24]) },
        { "animgraph29", new Guid([0x46, 0x6C, 0x55, 0xD0, 0xDF, 0xF5, 0xB1, 0x48, 0xA9, 0xD1, 0xBC, 0x5E, 0xAA, 0x40, 0x5F, 0xE8]) },
        { "animgraph30", new Guid([0xB5, 0x8F, 0xA2, 0x26, 0x62, 0x35, 0x40, 0x47, 0x95, 0xDA, 0xEB, 0x8C, 0xF5, 0x8A, 0xB3, 0x60]) },
        { "animgraph31", new Guid([0x73, 0x99, 0x56, 0x14, 0x3F, 0x57, 0xA7, 0x43, 0xA0, 0xE2, 0x0C, 0x72, 0x41, 0xE1, 0x99, 0x25]) },
        { "animgraph32", new Guid([0xE8, 0xA4, 0xA5, 0x9F, 0x18, 0xB8, 0x38, 0x47, 0x95, 0x06, 0x25, 0x3A, 0x23, 0x5B, 0x03, 0xAD]) },
        { "generic", new Guid([0x7C, 0x16, 0x12, 0x74, 0xE9, 0x06, 0x98, 0x46, 0xAF, 0xF2, 0xE6, 0x3E, 0xB5, 0x90, 0x37, 0xE7]) },
        { "modeldoc0", new Guid([0x85, 0x86, 0x44, 0xF9, 0x73, 0x40, 0x8F, 0x44, 0x99, 0x41, 0x85, 0xB9, 0x8B, 0x5B, 0xC2, 0x22]) },
        { "modeldoc1", new Guid([0xB2, 0x5D, 0xCA, 0x58, 0xB9, 0x6E, 0xA2, 0x48, 0x90, 0x6E, 0x0C, 0x22, 0x70, 0x41, 0x33, 0x51]) },
        { "modeldoc2", new Guid([0x75, 0x57, 0x12, 0xEE, 0x94, 0x3F, 0xF8, 0x48, 0x8C, 0xEF, 0x4F, 0x3C, 0xE7, 0x5F, 0xEC, 0x5C]) },
        { "modeldoc3", new Guid([0xAC, 0xDA, 0x48, 0xAC, 0x2E, 0x56, 0x83, 0x4E, 0x95, 0x96, 0x30, 0xFB, 0x51, 0xA4, 0x89, 0x47]) },
        { "modeldoc4", new Guid([0xE4, 0xCE, 0x74, 0x51, 0xFA, 0x88, 0x04, 0x41, 0xB1, 0xB9, 0xB9, 0xF3, 0x09, 0xE5, 0xC9, 0xB1]) },
        { "modeldoc5", new Guid([0x06, 0x86, 0x85, 0xA2, 0xE8, 0x7E, 0xBE, 0x45, 0x81, 0xE3, 0x3E, 0xF9, 0x94, 0xCF, 0x36, 0x3E]) },
        { "modeldoc6", new Guid([0x41, 0x56, 0x1C, 0xED, 0x1E, 0x54, 0xB8, 0x41, 0xB1, 0x4A, 0x8A, 0x78, 0xF9, 0x56, 0xC2, 0x61]) },
        { "modeldoc7", new Guid([0x98, 0x1B, 0x91, 0xCB, 0xE6, 0x4A, 0x2F, 0x4D, 0x86, 0xD6, 0xFB, 0x07, 0x51, 0x14, 0x0E, 0x0D]) },
        { "modeldoc8", new Guid([0x7B, 0xB5, 0xB2, 0x75, 0xC5, 0x8E, 0xED, 0x45, 0xA4, 0x7B, 0x59, 0x49, 0x4E, 0x3F, 0x83, 0x05]) },
        { "modeldoc9", new Guid([0x62, 0x74, 0x33, 0x56, 0xBC, 0xC0, 0x24, 0x47, 0xB5, 0xD6, 0xF5, 0x53, 0xDC, 0x63, 0xBF, 0x25]) },
        { "modeldoc10", new Guid([0x2F, 0x75, 0x43, 0xCC, 0x7F, 0x59, 0x05, 0x49, 0x8C, 0x6E, 0xD2, 0x09, 0x77, 0x54, 0x27, 0x10]) },
        { "modeldoc11", new Guid([0x31, 0xA4, 0xDC, 0x15, 0x9F, 0x47, 0x91, 0x40, 0xA7, 0x9A, 0x87, 0x2C, 0xF0, 0x68, 0xFD, 0x97]) },
        { "modeldoc12", new Guid([0x06, 0xFF, 0x2C, 0x4E, 0xAD, 0x0D, 0xD6, 0x49, 0xA7, 0xD8, 0xFA, 0x18, 0x58, 0x78, 0x8F, 0x58]) },
        { "modeldoc13", new Guid([0xCC, 0xFD, 0xAB, 0x3F, 0x03, 0xB7, 0x0E, 0x4F, 0xA1, 0xD0, 0x6D, 0xA4, 0x28, 0xED, 0x5B, 0x90]) },
        { "modeldoc14", new Guid([0x17, 0x5E, 0x8D, 0x73, 0x6A, 0xC8, 0x20, 0x45, 0xB5, 0xAD, 0x86, 0x54, 0x84, 0x10, 0x0D, 0x16]) },
        { "modeldoc15", new Guid([0x85, 0x82, 0xA3, 0x35, 0x04, 0xD2, 0x45, 0x4A, 0xBA, 0x2B, 0xBD, 0x07, 0xF4, 0x93, 0xE7, 0xEE]) },
        { "modeldoc16", new Guid([0x6B, 0x46, 0xA6, 0x4C, 0x72, 0x77, 0x63, 0x45, 0xB0, 0x5A, 0x1F, 0x24, 0x18, 0xD2, 0xB9, 0x42]) },
        { "modeldoc17", new Guid([0xDC, 0xED, 0x61, 0x93, 0xE5, 0xF0, 0x77, 0x4E, 0x82, 0x0A, 0x43, 0x77, 0x66, 0x0D, 0xC1, 0x85]) },
        { "modeldoc18", new Guid([0x2E, 0x59, 0xAF, 0xD7, 0x02, 0x66, 0xCD, 0x46, 0xB5, 0xEA, 0x04, 0xF1, 0xC9, 0xBA, 0x89, 0x5C]) },
        { "modeldoc19", new Guid([0xCE, 0x8C, 0xCD, 0x3D, 0x4B, 0x49, 0xB1, 0x46, 0x99, 0x4E, 0xF9, 0xC0, 0xB9, 0xB4, 0x19, 0x9D]) },
        { "modeldoc20", new Guid([0xDC, 0xE3, 0x36, 0xFF, 0x22, 0x92, 0x0B, 0x44, 0xA4, 0xD0, 0xCF, 0xB8, 0x71, 0x26, 0xAB, 0x1F]) },
        { "modeldoc21", new Guid([0xB6, 0xE8, 0xD8, 0x75, 0x3F, 0x70, 0x17, 0x47, 0xA1, 0xEE, 0x6D, 0x58, 0x72, 0x34, 0xFA, 0xFF]) },
        { "modeldoc22", new Guid([0x39, 0x70, 0xC7, 0x2F, 0x46, 0x11, 0x2D, 0x4B, 0x88, 0x4B, 0xDD, 0x87, 0x99, 0x58, 0x7C, 0x28]) },
        { "modeldoc23", new Guid([0xFF, 0x8B, 0x6C, 0x25, 0x7C, 0xDB, 0xEA, 0x48, 0xA9, 0xDC, 0xCC, 0x1B, 0x82, 0x91, 0x8C, 0x7E]) },
        { "modeldoc24", new Guid([0xC9, 0x02, 0xC6, 0x3C, 0x6F, 0x06, 0xEC, 0x48, 0x92, 0xC4, 0xB1, 0x05, 0xA6, 0x43, 0x95, 0x3A]) },
        { "modeldoc25", new Guid([0x82, 0xD9, 0x7B, 0x97, 0x0B, 0xF7, 0x7E, 0x45, 0x85, 0x16, 0xEF, 0x7C, 0x87, 0x9A, 0x50, 0xF9]) },
        { "modeldoc26", new Guid([0x94, 0x11, 0xF7, 0xD5, 0x21, 0xB2, 0x76, 0x4B, 0x84, 0x9E, 0x88, 0xB3, 0x07, 0x26, 0x78, 0x9A]) },
        { "modeldoc27", new Guid([0xB5, 0x6E, 0xF9, 0x25, 0xF1, 0xE3, 0xB5, 0x43, 0x83, 0xB9, 0x56, 0xCD, 0x5D, 0x58, 0xDF, 0xE6]) },
        { "modeldoc28", new Guid([0xCA, 0xB6, 0x63, 0xFB, 0x35, 0xF4, 0xA0, 0x4A, 0xA2, 0xC7, 0xC6, 0x6D, 0xDC, 0x65, 0x1D, 0xCA]) },
        { "modeldoc29", new Guid([0x7C, 0x42, 0xEC, 0x3C, 0x0E, 0x1B, 0x48, 0x4D, 0xA9, 0x0A, 0x04, 0x36, 0xF3, 0x3A, 0x60, 0x41]) },
        { "modeldoc30", new Guid([0x0F, 0x49, 0xCD, 0x66, 0x7B, 0x43, 0x7D, 0x4D, 0xB0, 0x09, 0x79, 0x07, 0xD4, 0x54, 0x22, 0xE2]) },
        { "modeldoc31", new Guid([0xDD, 0x48, 0x5D, 0x16, 0xDC, 0x8A, 0x1D, 0x4F, 0xAB, 0xF7, 0x49, 0x92, 0xE0, 0x4A, 0xD5, 0x77]) },
        { "modeldoc32", new Guid([0x98, 0xEF, 0xDC, 0xC5, 0x29, 0xB6, 0xAB, 0x46, 0x88, 0xE3, 0xA1, 0x7C, 0x00, 0x5C, 0x93, 0x5E]) },
        { "modeldoc33", new Guid([0x0A, 0x39, 0xD0, 0xBE, 0x64, 0xA5, 0xA6, 0x41, 0x9D, 0xC3, 0xC9, 0xA2, 0x93, 0xC8, 0xEE, 0xA3]) },
        { "modeldoc34", new Guid([0x24, 0xF2, 0xDC, 0xEA, 0xB0, 0xF3, 0x94, 0x4E, 0xA5, 0x90, 0x8A, 0xBC, 0x5D, 0x9D, 0x95, 0xF7]) },
        { "modeldoc35", new Guid([0xD0, 0xEE, 0x0E, 0xB0, 0x1D, 0x97, 0x07, 0x43, 0xA9, 0x1E, 0x31, 0xE4, 0x69, 0x56, 0xE8, 0x94]) },
        { "modeldoc36", new Guid([0xA4, 0xAD, 0x2D, 0x97, 0x28, 0xB8, 0xA4, 0x45, 0xBB, 0x93, 0x77, 0x95, 0xCF, 0x05, 0x85, 0xDA]) },
        { "modeldoc37", new Guid([0xAA, 0xB9, 0x04, 0x9E, 0x73, 0xF0, 0x59, 0x4E, 0x89, 0x23, 0xFF, 0x57, 0x48, 0x9E, 0xB2, 0xC7]) },
        { "modeldoc38", new Guid([0x21, 0x0C, 0x52, 0x81, 0xAA, 0x94, 0xFA, 0x45, 0xA4, 0x58, 0x34, 0x73, 0x1C, 0x14, 0x59, 0x69]) },
        { "modeldoc39", new Guid([0x0D, 0xCB, 0xEE, 0x1C, 0x93, 0x40, 0x29, 0x47, 0xAB, 0x18, 0xB7, 0x68, 0x86, 0xC6, 0x4C, 0xDE]) },
        { "modeldoc40", new Guid([0xF8, 0xB1, 0x0A, 0xDA, 0x22, 0x97, 0x10, 0x49, 0x94, 0xB8, 0x10, 0xB6, 0xA0, 0x8C, 0x09, 0x34]) },
        { "smartprop0", new Guid([0xED, 0xAB, 0xAE, 0x31, 0xC4, 0x20, 0x09, 0x47, 0xB6, 0x40, 0x99, 0xDA, 0x58, 0x29, 0x20, 0xEA]) },
        { "smartprop1", new Guid([0xF0, 0x56, 0xB6, 0x5A, 0xDE, 0x06, 0x8A, 0x47, 0x80, 0x4E, 0x48, 0x9E, 0x82, 0x99, 0x4F, 0xB5]) },
        { "smartprop2", new Guid([0x6E, 0xB6, 0xDD, 0x4D, 0xED, 0xC6, 0xD0, 0x4B, 0xA4, 0xEF, 0xAF, 0xB4, 0x5A, 0x02, 0xAC, 0xC2]) },
        { "TestFormatA", new Guid([0x13, 0xFE, 0x92, 0x1D, 0x51, 0x3C, 0x92, 0x44, 0x9F, 0x22, 0x96, 0x2E, 0x8C, 0xA8, 0x35, 0x74]) },
        { "TestFormatB", new Guid([0x54, 0xD9, 0x9F, 0x8C, 0xD5, 0x16, 0xEC, 0x4D, 0x88, 0x70, 0x16, 0xD0, 0x41, 0xE1, 0x38, 0x78]) },
        { "TestFormatC", new Guid([0x39, 0x2C, 0x37, 0xBE, 0x63, 0x40, 0xFA, 0x45, 0xA1, 0x58, 0xD6, 0x17, 0x07, 0x5D, 0x67, 0x98]) },
        { "TestFormatD", new Guid([0xA8, 0x5E, 0xEE, 0x56, 0x54, 0x7B, 0x8B, 0x4A, 0xA9, 0xFD, 0xAC, 0xA1, 0x67, 0x9B, 0x40, 0xDF]) },
        { "TestFormatE", new Guid([0x5F, 0x05, 0x2A, 0x62, 0x81, 0x47, 0x4B, 0x4E, 0x9F, 0x20, 0xF3, 0xA5, 0x64, 0x5B, 0xE4, 0xF4]) },
        { "vcd1", new Guid([0x4B, 0x2D, 0x5B, 0x6C, 0x7B, 0xAA, 0x35, 0x4D, 0xA9, 0xB0, 0x36, 0x48, 0x4B, 0x2A, 0x0A, 0xC5]) },
        { "vcd2", new Guid([0x4E, 0xE0, 0x05, 0xBC, 0x21, 0xC0, 0xEA, 0x4B, 0xAC, 0x1F, 0x43, 0xAB, 0x77, 0xA6, 0xE3, 0x5A]) },
        { "vcd3", new Guid([0x32, 0x8B, 0x39, 0xCA, 0x6E, 0xA8, 0x62, 0x49, 0x9F, 0xB8, 0x12, 0x9E, 0xAE, 0x57, 0xFA, 0xBF]) },
        { "vmdlkeys0", new Guid([0x03, 0xAE, 0xD3, 0x80, 0xD0, 0x35, 0x9D, 0x47, 0x83, 0x50, 0x17, 0xF5, 0x6A, 0xF0, 0x24, 0xC1]) },
        { "vmdlkeys1", new Guid([0xB7, 0x80, 0xC8, 0xB7, 0x5A, 0x3D, 0xF6, 0x4F, 0x80, 0x45, 0x55, 0x90, 0xCA, 0x09, 0xB0, 0xEF]) },
        { "vmdlkeys2", new Guid([0x0F, 0x77, 0x9A, 0x04, 0xE8, 0xB8, 0xAA, 0x49, 0x8F, 0x6A, 0x0A, 0x0D, 0x5E, 0xBF, 0xC0, 0x10]) },
        { "vmdlkeys3", new Guid([0x66, 0x1E, 0x1D, 0x14, 0xBF, 0xEE, 0x40, 0x44, 0xBE, 0x28, 0xA7, 0x4C, 0xD9, 0x34, 0x26, 0xEB]) },
        { "vmdlkeys4", new Guid([0x02, 0x10, 0x5C, 0x9F, 0x9F, 0xF1, 0x0C, 0x47, 0xBD, 0x42, 0xC3, 0xC2, 0x6C, 0x06, 0x3D, 0x33]) },
        { "vpcf1", new Guid([0xE6, 0x07, 0x7D, 0xD4, 0x2C, 0x07, 0xCB, 0x49, 0x97, 0x18, 0x5B, 0xFD, 0x8D, 0x6C, 0x3D, 0x21]) },
        { "vpcf2", new Guid([0x0E, 0x96, 0x1B, 0x31, 0xFB, 0x6E, 0xCC, 0x4F, 0xAA, 0x8F, 0xA7, 0x76, 0x78, 0xD7, 0x99, 0x1A]) },
        { "vpcf3", new Guid([0x3A, 0x30, 0xC2, 0x57, 0x36, 0xE7, 0xDA, 0x44, 0x9B, 0xC8, 0x3A, 0xFA, 0x5E, 0xB5, 0x51, 0x1D]) },
        { "vpcf4", new Guid([0x13, 0xEF, 0x64, 0xB1, 0xB7, 0xA1, 0x61, 0x4D, 0xBA, 0x14, 0x6A, 0xC2, 0x56, 0xE7, 0x45, 0x33]) },
        { "vpcf5", new Guid([0xDC, 0x4B, 0x5C, 0xCA, 0xA3, 0xFD, 0x2D, 0x4C, 0xAE, 0xE4, 0x70, 0x63, 0x66, 0xF5, 0x5C, 0xCF]) },
        { "vpcf6", new Guid([0x50, 0x6F, 0x35, 0x48, 0x83, 0x47, 0x71, 0x4F, 0xA2, 0xFF, 0x0D, 0x5D, 0xCA, 0xE1, 0x32, 0x1B]) },
        { "vpcf7", new Guid([0x15, 0x05, 0xD9, 0x45, 0x39, 0x35, 0xF7, 0x43, 0x8C, 0xD1, 0x5B, 0x3A, 0x68, 0x12, 0x2C, 0x99]) },
        { "vpcf8", new Guid([0x61, 0x7D, 0x68, 0xE9, 0xD0, 0x22, 0x77, 0x45, 0xB3, 0xFD, 0xDB, 0xB8, 0xA7, 0xF4, 0x91, 0x5F]) },
        { "vpcf9", new Guid([0xCF, 0x23, 0xC7, 0x28, 0xD4, 0xE0, 0x9C, 0x4F, 0xAD, 0xB8, 0x76, 0xF9, 0xC2, 0xD9, 0xC8, 0x1C]) },
        { "vpcf10", new Guid([0x3D, 0x67, 0xEF, 0xB5, 0x50, 0x04, 0xB0, 0x4F, 0xA9, 0x1B, 0xBA, 0xCA, 0xE6, 0x86, 0x48, 0x27]) },
        { "vpcf11", new Guid([0x91, 0x53, 0x2B, 0x4F, 0x74, 0x15, 0x1A, 0x4C, 0x8D, 0x1B, 0x94, 0x4B, 0x49, 0xB4, 0x97, 0x66]) },
        { "vpcf12", new Guid([0x5E, 0x4E, 0x2E, 0xCF, 0xE0, 0xE5, 0xA9, 0x4D, 0x93, 0x0B, 0xA5, 0x26, 0xA9, 0x12, 0x36, 0xE2]) },
        { "vpcf13", new Guid([0x8E, 0x5A, 0xB3, 0x10, 0xEE, 0xB1, 0x14, 0x4F, 0x87, 0xA6, 0xA7, 0xB6, 0xAA, 0xE3, 0x76, 0x99]) },
        { "vpcf14", new Guid([0xC1, 0x56, 0x9A, 0x1D, 0xB4, 0xEF, 0x23, 0x47, 0xBB, 0xD9, 0x20, 0xC4, 0xF1, 0xB6, 0xDD, 0x3D]) },
        { "vpcf15", new Guid([0x12, 0xBE, 0x6D, 0x74, 0x7D, 0xC9, 0xA2, 0x47, 0xA4, 0x45, 0x9F, 0x9C, 0xEB, 0x7E, 0xF8, 0xF6]) },
        { "vpcf16", new Guid([0xBA, 0x3C, 0x1B, 0x26, 0xC7, 0x02, 0x4F, 0x42, 0x85, 0x4B, 0xC4, 0x32, 0xC6, 0xF0, 0x18, 0xD1]) },
        { "vpcf17", new Guid([0x67, 0x22, 0xFF, 0x0F, 0x12, 0x2A, 0xE7, 0x42, 0xB2, 0x1F, 0x07, 0xC3, 0x5F, 0x9E, 0x88, 0x56]) },
        { "vpcf18", new Guid([0xFF, 0xDB, 0x2B, 0x4D, 0xE7, 0x55, 0x26, 0x42, 0x8C, 0xD7, 0xFA, 0x1D, 0xB8, 0x18, 0x3F, 0x43]) },
        { "vpcf19", new Guid([0xD8, 0x65, 0xFC, 0xAA, 0x5A, 0x7A, 0x01, 0x4E, 0xBD, 0x8D, 0x3A, 0xC1, 0x18, 0x42, 0x25, 0x03]) },
        { "vpcf20", new Guid([0x44, 0x5D, 0x37, 0xB1, 0x2B, 0x0E, 0x60, 0x4F, 0xA9, 0xF5, 0xE5, 0x3C, 0x3E, 0xA2, 0xD4, 0x9E]) },
        { "vpcf21", new Guid([0xCC, 0x0E, 0x15, 0x7A, 0x65, 0xD8, 0x8F, 0x43, 0xAD, 0x53, 0x59, 0x63, 0xFE, 0x1A, 0x27, 0x20]) },
        { "vpcf22", new Guid([0xD0, 0x55, 0xA5, 0x3C, 0x26, 0x33, 0x19, 0x4E, 0x89, 0x13, 0x91, 0x72, 0x0A, 0x2C, 0x7D, 0x76]) },
        { "vpcf23", new Guid([0xCD, 0xEF, 0x6C, 0x63, 0x51, 0x65, 0xAD, 0x40, 0x80, 0x1C, 0x60, 0x85, 0xF7, 0xE6, 0x7E, 0x27]) },
        { "vpcf24", new Guid([0x15, 0x92, 0xA2, 0xC9, 0x77, 0xBB, 0xB2, 0x47, 0xAF, 0x5D, 0x67, 0xEB, 0x30, 0xBA, 0x65, 0x78]) },
        { "vpcf25", new Guid([0x8D, 0x2D, 0xCA, 0x7B, 0x14, 0x3A, 0x76, 0x4A, 0xBD, 0x41, 0xF4, 0x83, 0xFD, 0xF7, 0x8D, 0x50]) },
        { "vpcf26", new Guid([0x58, 0x86, 0x28, 0x26, 0x1E, 0x41, 0x14, 0x4F, 0xB6, 0x98, 0x2E, 0x1E, 0x5D, 0x00, 0xDE, 0xC6]) },
        { "vpcf27", new Guid([0x1F, 0x96, 0xC3, 0x36, 0xA4, 0x02, 0x52, 0x4C, 0xBF, 0x8F, 0x6E, 0x31, 0x47, 0xD7, 0xD1, 0x42]) },
        { "vpcf28", new Guid([0xBB, 0x66, 0xE9, 0x6F, 0xC3, 0x8D, 0x48, 0x44, 0x8C, 0x90, 0x1D, 0xF8, 0x44, 0x28, 0xFE, 0x06]) },
        { "vpcf29", new Guid([0xE8, 0xBE, 0x88, 0x55, 0x53, 0xD6, 0xAE, 0x4A, 0x8E, 0x53, 0x80, 0x53, 0x84, 0x49, 0x9E, 0x91]) },
        { "vpcf30", new Guid([0xB7, 0xFB, 0xA6, 0xA9, 0xF7, 0x43, 0x4A, 0x46, 0x91, 0xF8, 0xF5, 0xAF, 0x23, 0xBA, 0xF6, 0x12]) },
        { "vpcf31", new Guid([0x81, 0xD1, 0x3C, 0x59, 0xD6, 0xA1, 0x6F, 0x4C, 0x9A, 0x8C, 0x05, 0x34, 0xE8, 0xD4, 0x4D, 0xB0]) },
        { "vpcf32", new Guid([0x6C, 0xEC, 0x5C, 0x35, 0x0B, 0x97, 0x6E, 0x49, 0xAE, 0xC5, 0xC5, 0x33, 0x55, 0x2F, 0xC0, 0x6C]) },
        { "vpcf33", new Guid([0xCA, 0xC8, 0x1F, 0x97, 0x99, 0xCE, 0x18, 0x41, 0x9F, 0xC0, 0xC1, 0x4B, 0xC7, 0x50, 0xE0, 0xB5]) },
        { "vpcf34", new Guid([0x38, 0xF0, 0xAB, 0x82, 0x09, 0x32, 0xAB, 0x41, 0xBE, 0x59, 0x7F, 0xEF, 0x88, 0xB6, 0xB0, 0xBB]) },
        { "vpcf35", new Guid([0xCA, 0xFC, 0x5B, 0xEC, 0x9D, 0xB8, 0x91, 0x45, 0x9E, 0xF4, 0xC8, 0x67, 0x94, 0x87, 0xD6, 0x23]) },
        { "vpcf36", new Guid([0x57, 0x91, 0x5C, 0xD1, 0xE0, 0x10, 0xBC, 0x47, 0x93, 0x33, 0x1A, 0xC8, 0x1D, 0xA0, 0x7B, 0x8D]) },
        { "vpcf37", new Guid([0xC4, 0xC8, 0xA1, 0xF9, 0x9B, 0x15, 0x86, 0x47, 0xB7, 0x40, 0x4D, 0x1A, 0x11, 0x8C, 0x8F, 0x46]) },
        { "vpcf38", new Guid([0x78, 0x5B, 0xEA, 0x9D, 0x23, 0xE7, 0xEC, 0x11, 0x82, 0x2B, 0xF9, 0x93, 0x57, 0x29, 0x6C, 0x51]) },
        { "vpcf39", new Guid([0x0D, 0x70, 0x85, 0x10, 0x62, 0xBF, 0xB6, 0x4C, 0xAB, 0x6A, 0x00, 0x00, 0x9D, 0x1D, 0x9E, 0x07]) },
        { "vpcf40", new Guid([0x7B, 0x9A, 0xFB, 0xAE, 0xC1, 0xB1, 0x84, 0x44, 0xA0, 0x9A, 0x07, 0x3D, 0xF8, 0x95, 0x8F, 0x98]) },
        { "vpcf41", new Guid([0xE1, 0x1D, 0xCD, 0x43, 0x25, 0xA8, 0x6B, 0x48, 0xBF, 0x4E, 0x01, 0xDA, 0xEF, 0x9A, 0x76, 0xB1]) },
        { "vpcf42", new Guid([0x38, 0xF6, 0x91, 0x82, 0x8F, 0x8C, 0xCA, 0x45, 0xB4, 0xDE, 0x6D, 0xF5, 0x01, 0x92, 0xDD, 0xEB]) },
        { "vpcf43", new Guid([0xDE, 0x80, 0x26, 0x1E, 0xD7, 0xB3, 0xDA, 0x45, 0xBC, 0x7C, 0x83, 0xE2, 0xE2, 0xDE, 0x2D, 0x13]) },
        { "vpcf44", new Guid([0x8D, 0x3F, 0x4C, 0xBA, 0x65, 0x9A, 0xB5, 0x41, 0xA5, 0x0B, 0xCC, 0x0E, 0x68, 0x3F, 0xE0, 0x0F]) },
        { "vpcf45", new Guid([0x23, 0xD6, 0xC3, 0x73, 0x41, 0xA1, 0xF2, 0x4D, 0xB5, 0x48, 0x41, 0xDD, 0x78, 0x6E, 0x63, 0x00]) },
        { "vpcf46", new Guid([0x94, 0x04, 0x7C, 0x33, 0x21, 0xC6, 0xD7, 0x45, 0x9C, 0x55, 0x81, 0x18, 0xCC, 0xB0, 0x7E, 0xAB]) },
        { "vpcf47", new Guid([0xD7, 0x86, 0x09, 0x5A, 0x77, 0x5A, 0xF6, 0x44, 0xA8, 0x85, 0x97, 0x91, 0x92, 0x05, 0x2A, 0xD1]) },
        { "vpcf48", new Guid([0x40, 0xAA, 0x97, 0xA9, 0x21, 0x2E, 0xCB, 0x4E, 0xB4, 0xD4, 0xBE, 0x5E, 0xB2, 0x7D, 0x9C, 0x61]) },
        { "vpcf49", new Guid([0x17, 0x79, 0x7A, 0x74, 0x8C, 0xC2, 0x60, 0x49, 0xAB, 0x63, 0xB6, 0xC3, 0xD2, 0x7D, 0x80, 0x51]) },
        { "vpcf50", new Guid([0xD4, 0x29, 0x64, 0xDA, 0x6F, 0x16, 0xED, 0x47, 0x8F, 0x47, 0x45, 0xD5, 0xC5, 0xF1, 0xBD, 0x9F]) },
        { "vpcf51", new Guid([0x00, 0xD5, 0x03, 0x6D, 0x98, 0x24, 0x4E, 0x45, 0xB8, 0x33, 0xF6, 0x54, 0xE8, 0x70, 0xBB, 0x3D]) },
        { "vpcf52", new Guid([0x78, 0xAC, 0x82, 0x49, 0x03, 0x51, 0x17, 0x4B, 0xBC, 0x4C, 0x93, 0xA7, 0x20, 0x0D, 0x22, 0x97]) },
        { "vpcf53", new Guid([0xA2, 0x9A, 0xF4, 0x7C, 0xEB, 0x3C, 0x2D, 0x49, 0x93, 0xF8, 0x1E, 0xD0, 0x31, 0xC9, 0x1C, 0xCA]) },
        { "vpcf54", new Guid([0x95, 0x15, 0x6B, 0x32, 0xE8, 0x45, 0x04, 0x40, 0xAA, 0x5A, 0x3E, 0x08, 0x65, 0x5F, 0xF5, 0x1F]) },
        { "vpcf55", new Guid([0x50, 0x33, 0x7E, 0x40, 0xFA, 0x0A, 0xE9, 0x43, 0x9A, 0xFE, 0xD3, 0x17, 0xD3, 0xF5, 0x68, 0x86]) },
        { "vpcf56", new Guid([0x67, 0xAE, 0x7D, 0xF0, 0x0B, 0x74, 0x89, 0x47, 0xA7, 0x29, 0x6D, 0xDF, 0xFC, 0x9F, 0x85, 0x5E]) },
        { "vpcf57", new Guid([0x2E, 0x13, 0x75, 0x4F, 0x5D, 0x4F, 0x3C, 0x49, 0x95, 0x8E, 0x3B, 0xB4, 0x32, 0x80, 0x89, 0xBA]) },
        { "vpcf58", new Guid([0x9C, 0xA3, 0xAD, 0x9B, 0x31, 0xA9, 0xD0, 0x42, 0xAB, 0xDD, 0xE5, 0xC1, 0xB1, 0x3D, 0x37, 0xA6]) },
        { "vpcf59", new Guid([0xFA, 0x7B, 0xF9, 0x6C, 0xA0, 0x52, 0x1A, 0x44, 0x87, 0xF0, 0x85, 0x6F, 0xB7, 0xAA, 0xA1, 0x29]) },
        { "vpcf60", new Guid([0x66, 0xA3, 0x92, 0xCD, 0x0D, 0x0B, 0x11, 0x48, 0xA1, 0x8D, 0xF6, 0xD4, 0x72, 0xD1, 0x97, 0x09]) },
        { "vpcf61", new Guid([0x1D, 0xCE, 0xD3, 0x39, 0x42, 0x94, 0x07, 0x44, 0x9B, 0x78, 0x83, 0x17, 0x14, 0x5B, 0x17, 0x32]) },
        { "vpcf62", new Guid([0x0D, 0xA9, 0x35, 0xC1, 0x52, 0xEF, 0xFA, 0x47, 0xA9, 0xB8, 0x83, 0xA3, 0x82, 0xA7, 0x74, 0x71]) },
        { "vpcf63", new Guid([0x9E, 0xA6, 0xE6, 0xA6, 0xD3, 0x52, 0x27, 0x45, 0x8B, 0x9C, 0xFF, 0x3B, 0xB9, 0x1A, 0xCA, 0x3E]) },
        { "vpulse_c1", new Guid([0xCB, 0x36, 0x4E, 0x35, 0xE4, 0xDB, 0xC0, 0x41, 0x8F, 0xE3, 0x22, 0x79, 0xDD, 0x19, 0x40, 0x22]) },
        { "vpulse_c2", new Guid([0x00, 0xA2, 0x77, 0x0A, 0xB7, 0xFF, 0x1F, 0x47, 0xA0, 0xB3, 0x13, 0x72, 0x67, 0x33, 0x6F, 0x06]) },
        { "vpulse1", new Guid([0x9B, 0x19, 0x8B, 0xC6, 0xB2, 0x4F, 0x08, 0x47, 0x85, 0x5F, 0xE9, 0xF5, 0x50, 0x28, 0x59, 0x58]) },
        { "vpulse2", new Guid([0xD9, 0xC6, 0x44, 0xE3, 0x68, 0xF9, 0x24, 0x46, 0xA3, 0x6A, 0x5F, 0xD2, 0xB4, 0x68, 0xC6, 0x9A]) },
        { "vpulse3", new Guid([0x26, 0xB3, 0xEA, 0xF2, 0x70, 0xA2, 0x77, 0x4C, 0x96, 0xEF, 0xF4, 0x5F, 0x48, 0xA2, 0x45, 0xED]) },
        { "vpulse4", new Guid([0x2C, 0x11, 0x86, 0x0A, 0x89, 0x55, 0x3A, 0x4B, 0xA9, 0x62, 0x39, 0x41, 0x55, 0x05, 0xF6, 0x0D]) },
        { "vpulse5", new Guid([0x64, 0x69, 0x28, 0xD9, 0x1B, 0x4D, 0x28, 0x44, 0xA2, 0x91, 0x92, 0x27, 0x03, 0xEB, 0xC8, 0x7C]) },
        { "vpulse6", new Guid([0x75, 0x4B, 0x97, 0x0B, 0x57, 0x2B, 0xDE, 0x46, 0x8C, 0xA5, 0x1C, 0x57, 0xDE, 0x85, 0x35, 0xCC]) },
        { "vpulse7", new Guid([0x0E, 0x4C, 0x44, 0x4F, 0xED, 0xFF, 0xE1, 0x41, 0xAA, 0xFE, 0x43, 0x4D, 0xF8, 0xEF, 0xC1, 0xB4]) },
        { "vpulse8", new Guid([0x2D, 0xFB, 0xDA, 0xAA, 0xA3, 0x84, 0xB4, 0x4E, 0x8A, 0x1E, 0x3C, 0x99, 0xB1, 0xA0, 0x75, 0xA1]) },
        { "vpulse9", new Guid([0xD3, 0x3C, 0x7A, 0xB9, 0x3D, 0x60, 0x7E, 0x48, 0xBA, 0x33, 0xDC, 0xB6, 0x23, 0xC9, 0xB1, 0x6E]) },
        { "vpulse10", new Guid([0xA0, 0x60, 0xE2, 0x3F, 0x1C, 0xFB, 0x15, 0x4C, 0x89, 0x09, 0xB6, 0x65, 0x4D, 0x86, 0x7F, 0xCB]) },
        { "vpulse11", new Guid([0x90, 0x16, 0xFD, 0x17, 0x2C, 0xB8, 0x9F, 0x4F, 0xAA, 0x06, 0x01, 0x09, 0xF2, 0xC3, 0x32, 0xFA]) },
        { "vpulse12", new Guid([0x25, 0x05, 0xC6, 0xDC, 0x03, 0xF0, 0x92, 0x4C, 0x84, 0xFF, 0x77, 0xBE, 0x8D, 0xAE, 0x18, 0x9C]) },
        { "vpulse13", new Guid([0x62, 0x38, 0xA1, 0xD1, 0xB8, 0x24, 0x7B, 0x42, 0xB1, 0x15, 0x83, 0x53, 0x43, 0xE5, 0x11, 0x5D]) },
        { "vpulse14", new Guid([0xA5, 0x3C, 0x15, 0xD7, 0x2C, 0x47, 0xA7, 0x43, 0xB6, 0xEA, 0x42, 0x53, 0x5E, 0x80, 0xBC, 0xB0]) },
        { "vpulse15", new Guid([0xA6, 0xB8, 0x74, 0x11, 0x4F, 0xB2, 0x45, 0x48, 0x96, 0xC9, 0x36, 0xDD, 0x0E, 0x45, 0x31, 0xCC]) },
        { "vpulse16", new Guid([0x50, 0x66, 0x5A, 0xFD, 0x04, 0xFE, 0xE3, 0x4A, 0x8C, 0x35, 0x63, 0xF0, 0x3A, 0x23, 0x2C, 0xC7]) },
        { "vpulse17", new Guid([0x04, 0xA5, 0x8B, 0xAD, 0x8C, 0xA0, 0xAF, 0x43, 0x8D, 0x5F, 0x63, 0xB5, 0xD1, 0x3E, 0x15, 0x7A]) },
        { "vrr_c1", new Guid([0x85, 0x70, 0xF0, 0xC1, 0x99, 0x52, 0x8A, 0x4E, 0xB7, 0xE9, 0x1C, 0xBB, 0x66, 0xBB, 0xBE, 0x23]) },
        { "vrr1", new Guid([0x7F, 0xA5, 0xDA, 0xFB, 0x5E, 0xD5, 0x43, 0x4F, 0xB8, 0x71, 0xE4, 0x16, 0x99, 0x0A, 0x33, 0x64]) },

        // Encodings
        { "binary_auto", new Guid([0xE6, 0x09, 0xB1, 0x6E, 0x85, 0x6B, 0x83, 0x45, 0xA3, 0x12, 0x70, 0x3A, 0x6E, 0x04, 0x06, 0x8C]) },
        { "binary_bc", new Guid([0x46, 0x1A, 0x79, 0x95, 0xBC, 0x95, 0x6C, 0x4F, 0xA7, 0x0B, 0x05, 0xBC, 0xA1, 0xB7, 0xDF, 0xD2]) },
        { "binary_lz4", new Guid([0x8A, 0x34, 0x47, 0x68, 0xA1, 0x63, 0x5C, 0x4F, 0xA1, 0x97, 0x53, 0x80, 0x6F, 0xD9, 0xB1, 0x19]) },
        { "binary_zstd", new Guid([0x00, 0x0A, 0x62, 0x6F, 0xF0, 0xFE, 0x05, 0x43, 0xA3, 0x5F, 0x04, 0x23, 0x46, 0xB1, 0xDB, 0x29]) },
        { "binary", new Guid([0x00, 0x05, 0x86, 0x1B, 0xD8, 0xF7, 0xC1, 0x40, 0xAD, 0x82, 0x75, 0xA4, 0x82, 0x67, 0xE7, 0x14]) },
        { "text", new Guid([0x3C, 0x7F, 0x1C, 0xE2, 0x33, 0x8A, 0xC5, 0x41, 0x99, 0x77, 0xA7, 0x6D, 0x3A, 0x32, 0xAA, 0x0D]) },
    }.ToFrozenDictionary();

    /// <summary>
    /// Lookups a <see cref="KV3ID"/> in the lookup table, will throw <see cref="ArgumentException"/> if not found.
    /// </summary>
    public static KV3ID Get(string name)
    {
        if (!Table.TryGetValue(name, out var id))
        {
            throw new ArgumentException("Name not found", nameof(name));
        }

        return new KV3ID(name, id);
    }

    /// <summary>
    /// Lookup a <see cref="KV3ID"/> in the lookup table, will return a <see cref="KV3ID"/> with name set to "vrfunknown" if not found.
    /// </summary>
    public static KV3ID GetByValue(Guid value)
    {
        foreach (var (name, guid) in KV3IDLookup.Table)
        {
            if (value == guid)
            {
                return new KV3ID(name, value);
            }
        }

        return new KV3ID("vrfunknown", value);
    }
}
